package Job04.SeafoodPizza;

import Job04.Pizza.Pizza;

public class SeafoodPizza extends Pizza {
    public String pl;

    public String getPl() {
        return pl;
    }
    public void setPl(String pl) {
        this.pl = pl;
    }

    public SeafoodPizza(String name, double price, int size) {
        super(name, price, size);

    }

    public SeafoodPizza() {
    }
    public void name(){
        System.out.println("名称："+this.getName());
    }
    public void price(){
        System.out.println("价格："+this.getPrice()+"元");
    }public void size(){
        System.out.println("尺寸："+this.getSize()+"寸");
    }
    public void g(){
        System.out.println("培根克数："+pl);
    }
}
